package boot.spring.listener;

import java.util.Objects;

import org.activiti.engine.delegate.DelegateExecution;
import org.springframework.stereotype.Component;
@Component
public class MyExpressionListener {
	public void notify(DelegateExecution execution)  {
		if(Objects.isNull(execution)) {
			System.out.println("-------ExpressionListener---参数为空--->");
		}else {
			
			System.out.println("-------ExpressionListener---参数不为空--->"+execution.getId());
		}
		
        System.out.println("-----ExpressionListener------执行了--->");
        	
   }
}
